/*
 * Copyright (c) 2017. 深圳一七科技. All rights reserved.
 */

package com.yiqi.liebang.feature.news.dependencies.relationship;



import com.yiqi.liebang.feature.news.contract.RelationshipContract;
import com.yiqi.liebang.feature.news.presenter.RelationshipPresenter;

import dagger.Module;
import dagger.Provides;

/**
 *      LIJUWEN
 * @email yiyayiyayaoljw@gmail.com
 * @date 2018/7/11 9:27
 */
@Module
public class RelationshipPresenterModule {
    private final RelationshipContract.View mView;

    public RelationshipPresenterModule(RelationshipContract.View mView) {
        this.mView = mView;
    }

    @Provides
    public RelationshipContract.Presenter provideRelationshipPresenter(){
        return  new RelationshipPresenter(mView);
    }

}
